package org.zjx.data;

import java.awt.Point;
import java.util.*;

public class ServerData {
    // 单例实例
    private static ServerData instance;

    // 主区名称 -> 主区坐标
    private final Map<String, Point> mainZoneMap = new HashMap<>();
    // 子区名称 -> 子区坐标
    private final Map<String, Point> subZoneMap = new HashMap<>();
    // 子区名称 -> 主区名称
    private final Map<String, String> subToMainMap = new HashMap<>();

    // 私有构造方法
    private ServerData() {
        initServerData();
    }

    /**
     * 获取单例实例
     */
    public static synchronized ServerData getInstance() {
        if (instance == null) {
            instance = new ServerData();
        }
        return instance;
    }

    /**
     * 初始化服务器数据
     */
    private void initServerData() {
        mainZoneMap.clear();
        subZoneMap.clear();
        subToMainMap.clear();

        // ========== 添加所有服务器数据 ==========
        // 第一批数据
        addServer("内蒙古", new Point(118, 138), "雄鹰岭", new Point(120, 426));
        addServer("河北1区", new Point(187, 138), "缘聚唐城", new Point(120, 426));
        addServer("河北1区", new Point(187, 138), "渤海明珠", new Point(192, 423));
        addServer("河北1区", new Point(187, 138), "月亮湖", new Point(262, 422));
        addServer("河北1区", new Point(187, 138), "蒹葭苍苍", new Point(332, 425));
        addServer("江苏1区", new Point(257, 138), "文昌阁", new Point(120, 426));
        addServer("江苏1区", new Point(257, 138), "雨花台", new Point(192, 423));
        addServer("江苏1区", new Point(257, 138), "凤凰台", new Point(262, 422));
        addServer("江苏1区", new Point(257, 138), "天下文枢", new Point(332, 425));
        addServer("江苏1区", new Point(257, 138), "寒山寺", new Point(405, 425));
        addServer("江苏1区", new Point(257, 138), "苏州园林", new Point(475, 425));
        addServer("江苏1区", new Point(257, 138), "金陵", new Point(547, 425));
        addServer("江苏1区", new Point(257, 138), "秦怀风光", new Point(121, 453));
        addServer("江苏1区", new Point(257, 138), "空山新雨", new Point(191, 451));
        addServer("江苏1区", new Point(257, 138), "水调歌头", new Point(262, 453));
        addServer("江苏1区", new Point(257, 138), "十里桃花", new Point(332, 453));
        addServer("江苏1区", new Point(257, 138), "齐天大圣", new Point(400, 453));
        addServer("江苏1区", new Point(257, 138), "雪满关山", new Point(475, 453));
        addServer("浙江1区", new Point(328, 138), "台州湾", new Point(120, 426));
        addServer("浙江1区", new Point(328, 138), "西栅老街", new Point(192, 423));
        addServer("浙江1区", new Point(328, 138), "文澜阁", new Point(262, 422));
        addServer("浙江1区", new Point(328, 138), "龙泉山", new Point(332, 425));
        addServer("浙江1区", new Point(328, 138), "龙游四海", new Point(405, 425));
        addServer("浙江1区", new Point(328, 138), "桃花坞", new Point(475, 425));
        addServer("浙江1区", new Point(328, 138), "西塘古镇", new Point(547, 425));
        addServer("浙江1区", new Point(328, 138), "嘉兴南湖", new Point(121, 453));
        addServer("浙江1区", new Point(328, 138), "团团圆圆", new Point(191, 451));
        addServer("浙江1区", new Point(328, 138), "比翼飞", new Point(262, 453));
        addServer("浙江1区", new Point(328, 138), "西湖醋鱼", new Point(332, 453));
        addServer("浙江1区", new Point(328, 138), "一战成名", new Point(400, 453));
        addServer("浙江1区", new Point(328, 138), "一路有你", new Point(475, 453));
        addServer("浙江1区", new Point(328, 138), "南屏晚钟", new Point(547, 453));
        addServer("北京1区", new Point(403, 138), "国子监", new Point(120, 426));
        addServer("北京1区", new Point(403, 138), "太和殿", new Point(192, 423));
        addServer("北京1区", new Point(403, 138), "紫禁城", new Point(262, 422));
        addServer("北京1区", new Point(403, 138), "2008", new Point(332, 425));
        addServer("北京1区", new Point(403, 138), "生日快乐", new Point(405, 425));
        addServer("北京1区", new Point(403, 138), "喜大普奔", new Point(475, 425));
        addServer("北京1区", new Point(403, 138), "恭王府", new Point(547, 425));
        addServer("北京1区", new Point(403, 138), "五道口", new Point(121, 453));
        addServer("北京1区", new Point(403, 138), "黄金台", new Point(191, 451));
        addServer("北京1区", new Point(403, 138), "豪情壮志", new Point(262, 453));
        addServer("北京1区", new Point(403, 138), "江山如画", new Point(332, 453));
        addServer("北京1区", new Point(403, 138), "繁荣富强", new Point(400, 453));
        addServer("北京1区", new Point(403, 138), "香山红叶", new Point(475, 453));
        addServer("北京1区", new Point(403, 138), "好汉城", new Point(547, 453));
        addServer("黑龙江区", new Point(474, 138), "雪域天龙", new Point(120, 426));
        addServer("黑龙江区", new Point(474, 138), "佟佳江", new Point(192, 423));
        addServer("天津区", new Point(547, 138), "精武门", new Point(120, 426));
        addServer("山西区", new Point(118, 162), "雁门关", new Point(120, 426));
        addServer("河北2区", new Point(188, 162), "燕塞湖", new Point(120, 426));
        addServer("河北2区", new Point(188, 162), "燕赵风云", new Point(192, 423));
        addServer("河北2区", new Point(188, 162), "观沧海", new Point(262, 422));
        addServer("江苏2区", new Point(256, 162), "夫子庙", new Point(120, 426));
        addServer("江苏2区", new Point(256, 162), "姑苏城", new Point(192, 423));
        addServer("江苏2区", new Point(256, 162), "枫桥夜泊", new Point(262, 422));
        addServer("浙江2区", new Point(330, 162), "苏堤春晓", new Point(120, 426));
        addServer("浙江2区", new Point(330, 162), "灵隐寺", new Point(192, 423));
        addServer("浙江2区", new Point(330, 162), "碧海潮生", new Point(262, 422));
        addServer("浙江2区", new Point(330, 162), "西湖龙井", new Point(332, 425));
        addServer("浙江2区", new Point(330, 162), "彩凤鸣岐", new Point(405, 425));
        addServer("浙江2区", new Point(330, 162), "忆江南", new Point(475, 425));
        addServer("浙江2区", new Point(330, 162), "西湖映月", new Point(547, 425));
        addServer("浙江2区", new Point(330, 162), "山外青山", new Point(121, 453));
        addServer("浙江2区", new Point(330, 162), "九天揽月", new Point(191, 451));
        addServer("浙江2区", new Point(330, 162), "壮志凌云", new Point(262, 453));
        addServer("浙江2区", new Point(330, 162), "蛇来运转", new Point(332, 453));
        addServer("北京2区", new Point(400, 162), "阳光城", new Point(120, 426));
        addServer("北京2区", new Point(400, 162), "万里长城", new Point(192, 423));
        addServer("北京2区", new Point(400, 162), "长安街", new Point(262, 422));
        addServer("北京2区", new Point(400, 162), "东方巨龙", new Point(332, 425));
        addServer("北京2区", new Point(400, 162), "天之骄子", new Point(405, 425));
        addServer("北京2区", new Point(400, 162), "龙争虎斗", new Point(475, 425));
        addServer("北京2区", new Point(400, 162), "顺天府", new Point(547, 425));
        addServer("北京2区", new Point(400, 162), "天下宝藏", new Point(121, 453));
        addServer("北京2区", new Point(400, 162), "三吴都会", new Point(191, 451));
        addServer("北京2区", new Point(400, 162), "百战不殆", new Point(262, 453));
        addServer("北京2区", new Point(400, 162), "千帆竞发", new Point(332, 453));
        addServer("北京2区", new Point(400, 162), "乾清宫", new Point(400, 453));
        addServer("北京2区", new Point(400, 162), "一生一世", new Point(475, 453));
        addServer("北京2区", new Point(400, 162), "长城守望", new Point(547, 453));
        addServer("北京2区", new Point(400, 162), "华夏", new Point(120, 480));
        addServer("北京2区", new Point(400, 162), "龙图腾", new Point(193, 480));
        addServer("吉林区", new Point(476, 162), "佟佳江", new Point(120, 426));
        addServer("华南区", new Point(545, 162), "逍遥城", new Point(120, 426));
        addServer("华南区", new Point(545, 162), "钓鱼岛", new Point(192, 423));
        addServer("华南区", new Point(545, 162), "侠客岛", new Point(262, 422));
        addServer("陕西区", new Point(121, 187), "大雁塔", new Point(120, 426));
        addServer("陕西区", new Point(121, 187), "西岳华山", new Point(192, 423));
        addServer("陕西区", new Point(121, 187), "岁岁长安", new Point(262, 422));
        addServer("河北3区", new Point(187, 187), "避暑山庄", new Point(120, 426));
        addServer("江苏3区", new Point(260, 187), "花果山", new Point(120, 426));
        addServer("江苏3区", new Point(260, 187), "镇淮楼", new Point(192, 423));
        addServer("江苏3区", new Point(260, 187), "燕子矶", new Point(262, 422));
        addServer("江苏3区", new Point(260, 187), "南禅寺", new Point(332, 425));
        addServer("江苏3区", new Point(260, 187), "烟花三月", new Point(405, 425));
        addServer("江苏3区", new Point(260, 187), "秋分", new Point(475, 425));
        addServer("浙江3区", new Point(333, 187), "普陀山", new Point(120, 426));
        addServer("浙江3区", new Point(333, 187), "钱塘江", new Point(192, 423));
        addServer("浙江3区", new Point(333, 187), "功成名就", new Point(262, 422));
        addServer("浙江3区", new Point(333, 187), "断桥残雪", new Point(332, 425));
        addServer("浙江3区", new Point(333, 187), "钱塘观潮", new Point(405, 425));
        addServer("北京3区", new Point(400, 187), "水木清华", new Point(120, 426));
        addServer("北京3区", new Point(400, 187), "紫禁之巅", new Point(192, 423));
        addServer("北京3区", new Point(400, 187), "气贯长虹", new Point(262, 422));
        addServer("北京3区", new Point(400, 187), "天命之路", new Point(332, 425));
        addServer("辽宁1区", new Point(471, 187), "星海湾", new Point(120, 426));
        addServer("无与伦比", new Point(545, 187), "兰亭序", new Point(120, 426));
        addServer("无与伦比", new Point(545, 187), "青花瓷", new Point(192, 423));
        addServer("无与伦比", new Point(545, 187), "本草纲目", new Point(262, 422));
        addServer("无与伦比", new Point(545, 187), "菊花台", new Point(332, 425));
        addServer("无与伦比", new Point(545, 187), "千里之外", new Point(405, 425));
        addServer("无与伦比", new Point(545, 187), "龙拳", new Point(475, 425));
        addServer("无与伦比", new Point(545, 187), "将军", new Point(547, 425));
        addServer("无与伦比", new Point(545, 187), "龙马精神", new Point(121, 453));
        addServer("无与伦比", new Point(545, 187), "梦幻西游", new Point(191, 451));
        addServer("无与伦比", new Point(545, 187), "龙的传人", new Point(262, 453));
        addServer("四川1区", new Point(118, 212), "嘉陵江", new Point(120, 426));
        addServer("四川1区", new Point(118, 212), "成都府", new Point(192, 423));
        addServer("四川1区", new Point(118, 212), "三星堆", new Point(262, 422));
        addServer("四川1区", new Point(118, 212), "康定情歌", new Point(332, 425));
        addServer("四川1区", new Point(118, 212), "黑熊谷", new Point(405, 425));
        addServer("河南1区", new Point(187, 212), "少林寺", new Point(120, 426));
        addServer("河南1区", new Point(187, 212), "中岳嵩山", new Point(192, 423));
        addServer("河南1区", new Point(187, 212), "汴梁城", new Point(262, 422));
        addServer("河南1区", new Point(187, 212), "龙图腾", new Point(332, 425));
        addServer("河南1区", new Point(187, 212), "河图洛书", new Point(405, 425));
        addServer("河南1区", new Point(187, 212), "九曲黄河", new Point(475, 425));
        addServer("河南1区", new Point(187, 212), "华灯初上", new Point(547, 425));
        addServer("河南1区", new Point(187, 212), "鱼跃龙门", new Point(121, 453));
        addServer("安徽区", new Point(257, 212), "紫蓬山", new Point(120, 426));
        addServer("安徽区", new Point(257, 212), "慈光阁", new Point(192, 423));
        addServer("安徽区", new Point(257, 212), "秋分", new Point(262, 422));
        addServer("浙江4区", new Point(328, 212), "绍兴兰亭", new Point(120, 426));
        addServer("浙江4区", new Point(328, 212), "绍兴鉴湖", new Point(192, 423));
        addServer("浙江4区", new Point(328, 212), "烟雨江南", new Point(262, 422));
        addServer("浙江4区", new Point(328, 212), "好运岛", new Point(332, 425));
        addServer("浙江4区", new Point(328, 212), "春色满园", new Point(405, 425));
        addServer("上海1区", new Point(403, 212), "珍宝阁", new Point(120, 426));
        addServer("上海1区", new Point(403, 212), "晚芳亭", new Point(192, 423));
        addServer("上海1区", new Point(403, 212), "灿若星河", new Point(262, 422));
        addServer("上海1区", new Point(403, 212), "苏州河", new Point(332, 425));
        addServer("上海1区", new Point(403, 212), "华灯初上", new Point(405, 425));
        addServer("上海1区", new Point(403, 212), "新天地", new Point(475, 425));
        addServer("上海1区", new Point(403, 212), "大闹天宫", new Point(547, 425));
        addServer("上海1区", new Point(403, 212), "城隍庙", new Point(121, 453));
        addServer("上海1区", new Point(403, 212), "长风破浪", new Point(191, 451));
        addServer("上海1区", new Point(403, 212), "龙游四海", new Point(262, 453));
        addServer("上海1区", new Point(403, 212), "云海雪霜", new Point(332, 453));
        addServer("辽宁2区", new Point(474, 212), "医巫闾山", new Point(120, 426));
        addServer("海外专区", new Point(547, 212), "侠客岛", new Point(120, 426));
        addServer("四川2区", new Point(118, 233), "文殊院", new Point(120, 426));
        addServer("四川2区", new Point(118, 233), "德阳文庙", new Point(192, 423));
        addServer("四川2区", new Point(118, 233), "黑熊谷", new Point(262, 422));
        addServer("四川2区", new Point(118, 233), "绿茵风采", new Point(332, 425));
        addServer("四川2区", new Point(118, 233), "寻梦古蜀", new Point(405, 425));
        addServer("四川2区", new Point(118, 233), "老君阁", new Point(475, 425));
        addServer("河南2区", new Point(187, 233), "牡丹亭", new Point(120, 426));
        addServer("河南2区", new Point(187, 233), "少室山", new Point(192, 423));
        addServer("河南2区", new Point(187, 233), "王屋山", new Point(262, 422));
        addServer("江西区", new Point(257, 233), "庐山胜境", new Point(120, 426));
        addServer("广东1区", new Point(328, 233), "湖光岩", new Point(120, 426));
        addServer("广东1区", new Point(328, 233), "三水荷花", new Point(192, 423));
        addServer("广东1区", new Point(328, 233), "十里银滩", new Point(262, 422));
        addServer("广东1区", new Point(328, 233), "二沙岛", new Point(332, 425));
        addServer("广东1区", new Point(328, 233), "太公岛", new Point(405, 425));
        addServer("上海2区", new Point(403, 233), "东方明珠", new Point(120, 426));
        addServer("上海2区", new Point(403, 233), "徐家汇", new Point(192, 423));
        addServer("上海2区", new Point(403, 233), "四海升平", new Point(262, 422));
        addServer("上海2区", new Point(403, 233), "天下文枢", new Point(332, 425));
        addServer("上海2区", new Point(403, 233), "腾云驾雾", new Point(405, 425));
        addServer("上海2区", new Point(403, 233), "桃花坞", new Point(475, 425));
        addServer("山东1区", new Point(474, 233), "东岳泰山", new Point(120, 426));
        addServer("山东1区", new Point(474, 233), "南天门", new Point(192, 423));
        addServer("山东1区", new Point(474, 233), "青岛残桥", new Point(262, 422));
        addServer("山东1区", new Point(474, 233), "东海崂山", new Point(332, 425));
        addServer("山东1区", new Point(474, 233), "千帆竞发", new Point(405, 425));
        addServer("山东1区", new Point(474, 233), "凌绝顶", new Point(475, 425));
        addServer("山东1区", new Point(474, 233), "临江仙", new Point(547, 425));
        addServer("山东1区", new Point(474, 233), "五岳独尊", new Point(121, 453));
        addServer("山东1区", new Point(474, 233), "春风得意", new Point(191, 451));
        addServer("追忆", new Point(547, 233), "再续前缘", new Point(120, 426));
        addServer("追忆", new Point(547, 233), "梦回望月", new Point(192, 423));
        addServer("追忆", new Point(547, 233), "2020", new Point(262, 422));
        addServer("追忆", new Point(547, 233), "一生所爱", new Point(332, 425));
        addServer("追忆", new Point(547, 233), "天命之路", new Point(405, 425));
        addServer("云南区", new Point(118, 263), "彩云之南", new Point(120, 426));
        addServer("云南区", new Point(118, 263), "蝴蝶泉", new Point(192, 423));
        addServer("河南3区", new Point(187, 263), "南阳府", new Point(120, 426));
        addServer("河南3区", new Point(187, 263), "逐鹿中原", new Point(192, 423));
        addServer("河南3区", new Point(187, 263), "枫桥夜泊", new Point(262, 422));
        addServer("福建1区", new Point(257, 263), "朱紫坊", new Point(120, 426));
        addServer("福建1区", new Point(257, 263), "凌云殿", new Point(192, 423));
        addServer("福建1区", new Point(257, 263), "彩云归", new Point(262, 422));
        addServer("福建1区", new Point(257, 263), "岁岁长安", new Point(332, 425));
        addServer("福建1区", new Point(257, 263), "苏州河", new Point(405, 425));
        addServer("广东2区", new Point(328, 263), "如意岛", new Point(120, 426));
        addServer("广东2区", new Point(328, 263), "进贤门", new Point(192, 423));
        addServer("广东2区", new Point(328, 263), "万绿湖", new Point(262, 422));
        addServer("广东2区", new Point(328, 263), "七星岩", new Point(332, 425));
        addServer("重庆区", new Point(403, 263), "解放碑", new Point(120, 426));
        addServer("重庆区", new Point(403, 263), "茶山竹海", new Point(192, 423));
        addServer("重庆区", new Point(403, 263), "洪崖洞", new Point(262, 422));
        addServer("重庆区", new Point(403, 263), "神女峰", new Point(332, 425));
        // 重庆区继续
        addServer("重庆区", new Point(403, 263), "小三峡", new Point(405, 425));
        addServer("重庆区", new Point(403, 263), "渤海明珠", new Point(475, 425));
        addServer("山东2区", new Point(474, 263), "水泊梁山", new Point(120, 426));
        addServer("山东2极", new Point(474, 263), "好汉城", new Point(192, 423));
        addServer("良辰美景", new Point(547, 263), "水云归", new Point(120, 426));
        addServer("良辰美景", new Point(547, 263), "一路有你", new Point(192, 423));
        addServer("良辰美景", new Point(547, 263), "玉兔呈祥", new Point(262, 422));
        addServer("极辰美景", new Point(547, 263), "女儿情", new Point(332, 425));
        addServer("良辰美景", new Point(547, 263), "斗战胜佛", new Point(405, 425));
        addServer("良辰美景", new Point(547, 263), "福星高照", new Point(475, 425));
        addServer("良辰美景", new Point(547, 263), "绿茵风采", new Point(547, 425));
        addServer("良辰美景", new Point(547, 263), "热爱为伍", new Point(121, 453));
        addServer("良辰美景", new Point(547, 263), "康定情歌", new Point(191, 451));
        addServer("良辰美景", new Point(547, 263), "寻梦古蜀", new Point(262, 453));
        addServer("良辰美景", new Point(547, 263), "巫山曲", new Point(332, 453));
        addServer("良辰美景", new Point(547, 263), "九黎之影", new Point(400, 453));
        addServer("贵州区", new Point(118, 286), "红枫湖", new Point(120, 426));
        addServer("湖北1区", new Point(187, 286), "武当山", new Point(120, 426));
        addServer("湖北1区", new Point(187, 286), "昭君台", new Point(192, 423));
        addServer("湖北1区", new Point(187, 286), "大江大湖", new Point(262, 422));
        addServer("湖北1区", new Point(187, 286), "南天门", new Point(332, 425));
        addServer("福建2区", new Point(257, 286), "日光岩", new Point(120, 426));
        addServer("福建2区", new Point(257, 286), "鼓浪屿", new Point(192, 423));
        addServer("福建2区", new Point(257, 286), "百花村", new Point(262, 422));
        addServer("福建2区", new Point(257, 286), "齐云楼", new Point(332, 425));
        addServer("广东3区", new Point(328, 286), "罗浮山", new Point(120, 426));
        addServer("广东3区", new Point(328, 286), "广州湾", new Point(192, 423));
        addServer("广东3区", new Point(328, 286), "凤凰台", new Point(262, 422));
        addServer("极东3区", new Point(328, 286), "碧海潮生", new Point(332, 425));
        addServer("天下无双", new Point(403, 286), "群星璀璨", new Point(120, 426));
        addServer("天下无双", new Point(403, 286), "金戈铁马", new Point(192, 423));
        addServer("天下无双", new Point(403, 286), "聚圣三界", new Point(262, 422));
        addServer("天下无双", new Point(403, 286), "逍遥三界", new Point(332, 425));
        addServer("天下无双", new Point(403, 286), "诗情画意", new Point(405, 425));
        addServer("天下无双", new Point(403, 286), "超凡入圣", new Point(475, 425));
        addServer("天下无双", new Point(403, 286), "纵横驰骋", new Point(547, 425));
        addServer("天下无双", new Point(403, 286), "金榜题名", new Point(121, 453));
        addServer("天下无双", new Point(403, 286), "俊秀山河", new Point(191, 451));
        addServer("天下无双", new Point(403, 286), "弈决风云", new Point(262, 453));
        addServer("天下无双", new Point(403, 286), "天地无极", new Point(332, 453));
        addServer("天下无双", new Point(403, 286), "撼海狂龙", new Point(400, 453));
        addServer("天下无双", new Point(403, 286), "九黎之影", new Point(475, 453));
        addServer("天下无双", new Point(403, 286), "盖世英雄", new Point(547, 453));
        addServer("山东3区", new Point(474, 286), "蓬莱岛", new Point(120, 426));
        addServer("山东3区", new Point(474, 286), "壮气凌云", new Point(192, 423));
        addServer("山东3区", new Point(474, 286), "十里金沙", new Point(262, 422));
        addServer("山东3区", new Point(474, 286), "三水荷花", new Point(332, 425));
        addServer("山东3区", new Point(474, 286), "洪崖洞", new Point(405, 425));
        addServer("星辰大海", new Point(547, 286), "友情水月", new Point(120, 426));
        addServer("广西1区", new Point(118, 311), "明秀园", new Point(120, 426));
        addServer("广西1区", new Point(118, 311), "青秀山", new Point(192, 423));
        addServer("广西1区", new Point(118, 311), "云天宫", new Point(262, 422));
        addServer("广西1区", new Point(118, 311), "甲天下", new Point(332, 425));
        addServer("湖北2区", new Point(187, 311), "神农架", new Point(120, 426));
        addServer("湖北2区", new Point(187, 311), "黄鹤楼", new Point(192, 423));
        addServer("深圳1区", new Point(257, 311), "大观园", new Point(120, 426));
        addServer("广东4区", new Point(328, 311), "流花湖", new Point(120, 426));
        addServer("广东4区", new Point(328, 311), "白云山", new Point(192, 423));
        addServer("广东4极", new Point(328, 311), "状元坊", new Point(262, 422));
        addServer("广东4区", new Point(328, 311), "流沙河", new Point(332, 425));
        addServer("笑傲江湖", new Point(403, 311), "花好月圆", new Point(120, 426));
        addServer("笑傲江湖", new Point(403, 311), "华山论剑", new Point(192, 423));
        addServer("笑傲江湖", new Point(403, 311), "上古神器", new Point(262, 422));
        addServer("笑傲江湖", new Point(403, 311), "群雄争霸", new Point(332, 425));
        addServer("笑傲江湖", new Point(403, 311), "纵横天下", new Point(405, 425));
        addServer("笑傲江湖", new Point(403, 311), "腾云驾雾", new Point(475, 425));
        addServer("笑傲江湖", new Point(403, 311), "龙吟九天", new Point(547, 425));
        addServer("笑傲江湖", new Point(403, 311), "绝代天骄", new Point(121, 453));
        addServer("笑傲江湖", new Point(403, 311), "泱泱大风", new Point(191, 451));
        addServer("笑傲江湖", new Point(403, 311), "龙泉山", new Point(262, 453));
        addServer("笑傲江湖", new Point(403, 311), "长风破浪", new Point(332, 453));
        addServer("笑傲江湖", new Point(403, 311), "龙腾九霄", new Point(400, 453));
        addServer("笑傲江湖", new Point(403, 311), "五福临门", new Point(475, 453));
        addServer("笑傲江湖", new Point(403, 311), "双龙之战", new Point(547, 453));
        addServer("笑傲江湖", new Point(403, 311), "平安喜乐", new Point(120, 480));
        addServer("笑傲江湖", new Point(403, 311), "仗剑天涯", new Point(193, 480));
        addServer("山东4区", new Point(474, 311), "大明湖", new Point(120, 426));
        addServer("山东4区", new Point(474, 311), "沂水雪山", new Point(192, 423));
        addServer("山东4区", new Point(474, 311), "灵山湾", new Point(262, 422));
        addServer("时光", new Point(547, 311), "花样年华", new Point(120, 426));
        addServer("广西2区", new Point(118, 336), "叠彩山", new Point(120, 426));
        addServer("广西2区", new Point(118, 336), "黄姚古镇", new Point(192, 423));
        addServer("湖南区", new Point(187, 336), "橘子洲", new Point(120, 426));
        addServer("湖南区", new Point(187, 336), "洞庭湖极", new Point(192, 423));
        addServer("湖南区", new Point(187, 336), "风华正茂", new Point(262, 422));
        addServer("湖南区", new Point(187, 336), "云海雪霜", new Point(332, 425));
        addServer("湖南区", new Point(187, 336), "甲天下", new Point(405, 425));
        addServer("深圳2区", new Point(257, 336), "梧桐山", new Point(120, 426));
        addServer("深圳2区", new Point(257, 336), "小梅沙", new Point(192, 423));
        addServer("深圳2区", new Point(257, 336), "世界之窗", new Point(262, 422));
        addServer("名扬三界", new Point(403, 336), "文韬武略", new Point(120, 426));
        addServer("名扬三界", new Point(403, 336), "洋光闪耀", new Point(192, 423));
        addServer("名扬三界", new Point(403, 336), "国泰明安", new Point(262, 422));
        addServer("名扬三界", new Point(403, 336), "剑胆孤心", new Point(332, 425));
        addServer("名扬三界", new Point(403, 336), "畅游三界", new Point(405, 425));
        addServer("名扬三界", new Point(403, 336), "恭喜发财", new Point(475, 425));
        addServer("名扬三界", new Point(403, 336), "绮梦长安", new Point(547, 425));
        addServer("名扬三界", new Point(403, 336), "卧虎藏龙", new Point(121, 453));
        addServer("名扬三界", new Point(403, 336), "为人师表", new Point(191, 451));
        addServer("名扬三界", new Point(403, 336), "四季发财", new Point(262, 453));
        addServer("名极三界", new Point(403, 336), "万里华夏", new Point(332, 453));
        addServer("名扬三界", new Point(403, 336), "宝藏之夜", new Point(400, 453));
        addServer("名扬三界", new Point(403, 336), "春心萌动", new Point(475, 453));
        addServer("名扬三界", new Point(403, 336), "比翼飞", new Point(547, 453));
        addServer("名扬三界", new Point(403, 336), "水调歌头", new Point(120, 480));
        addServer("名扬三界", new Point(403, 336), "天外飞仙", new Point(193, 480));
        addServer("名扬三界", new Point(403, 336), "纵横天下", new Point(259, 480));
        addServer("山东5区", new Point(474, 336), "玉皇顶", new Point(120, 426));
        addServer("山东5区", new Point(474, 336), "曲阜孔庙", new Point(192, 423));
        addServer("山东5区", new Point(474, 336), "威海卫", new Point(262, 422));
        addServer("山河社稷", new Point(403, 361), "长安城", new Point(120, 426));
        addServer("山河社稷", new Point(403, 361), "东海湾", new Point(192, 423));
        addServer("山河社稷", new Point(403, 361), "大唐官府", new Point(262, 422));
        addServer("山河社稷", new Point(403, 361), "东海龙宫", new Point(332, 425));
        addServer("山河社稷", new Point(403, 361), "燕子矶", new Point(405, 425));
    }

    /**
     * 添加服务器数据
     */
    private void addServer(String mainZone, Point mainPoint, String subZone, Point subPoint) {
        // 存储主区坐标
        mainZoneMap.put(mainZone, mainPoint);

        // 存储子区坐标
        subZoneMap.put(subZone, subPoint);

        // 存储子区到主区的映射关系
        subToMainMap.put(subZone, mainZone);
    }

    /**
     * 根据主区名称获取坐标
     */
    public Point getMainZonePoint(String mainZone) {
        return mainZoneMap.get(mainZone);
    }

    /**
     * 根据子区名称获取坐标
     */
    public Point getSubZonePoint(String subZone) {
        return subZoneMap.get(subZone);
    }

    /**
     * 根据子区名称获取所属主区名称
     */
    public String getMainZoneBySubZone(String subZone) {
        return subToMainMap.get(subZone);
    }

    /**
     * 获取所有主区名称
     */
    public Set<String> getAllMainZones() {
        return mainZoneMap.keySet();
    }

    /**
     * 获取所有子区名称
     */
    public Set<String> getAllSubZones() {
        return subZoneMap.keySet();
    }

    /**
     * 根据主区名称获取所有子区名称
     */
    public List<String> getSubZonesByMainZone(String mainZone) {
        List<String> result = new ArrayList<>();
        for (Map.Entry<String, String> entry : subToMainMap.entrySet()) {
            if (entry.getValue().equals(mainZone)) {
                result.add(entry.getKey());
            }
        }
        return result;
    }

    /**
     * 检查主区是否存在
     */
    public boolean containsMainZone(String mainZone) {
        return mainZoneMap.containsKey(mainZone);
    }

    /**
     * 检查子区是否存在
     */
    public boolean containsSubZone(String subZone) {
        return subZoneMap.containsKey(subZone);
    }

    /**
     * 获取主区数量
     */
    public int getMainZoneCount() {
        return mainZoneMap.size();
    }

    /**
     * 获取子区数量
     */
    public int getSubZoneCount() {
        return subZoneMap.size();
    }

    /**
     * 清空所有数据
     */
    public void clearAll() {
        mainZoneMap.clear();
        subZoneMap.clear();
        subToMainMap.clear();
    }
}